<%-- 
    Document   : index
    Created on : Dec 15, 2014, 3:43:54 PM
    Author     : Tran Thuy Duong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Handmade</title>
	<link rel="stylesheet" type="text/css" href="css/style.css"/>
	<link rel="stylesheet" type="text/css" href="css/navigation.css"/>
	<link rel="stylesheet" type="text/css" href="css/center_content.css"/>
	<link rel="stylesheet" type="text/css" href="css/footer.css"/>
	<link rel="stylesheet" type="text/css" href="css/menu_tab.css"/>
	<link rel="stylesheet" type="text/css" href="css/showslides.css"/>
	
	<script type="text/javascript" src="js/showslides.js"></script>

	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> 
	<script type="text/javascript" src="js/tooltip.js"></script>
        
</head>

    <body >
<!-- Center: Start -->
    <div class="center_content">

            <div class="center_title_bar">
                                    THÔNG TIN TÀI KHOẢN
            </div>
        
            <c:set var="info" value="${requestScope.INFOAccount}"/>
            <c:if test="${not empty info}">
            <form  method="get" action="C_Customer" name="Info_Account" id="Info_Account">
                    <hr style="margin-bottom: 10px;">
                    <table cellspacing="10px">
                            <c:set var="count" value="0"/>
                            <c:forEach var="rows" items="${info}">
                            <c:set var="count" value="${count + 1}"/>
                            <input type="hidden" name="Acc_txtmakh"value="${rows.makh}" />
                            <tr >
                                <td width="100px">Họ tên </td>
                                <td><input type="text" name="Acc_txttenkh" value="${rows.tenkh}" /></td>
                                    
                            </tr>
                            <tr>
                                    <td >Giới tính </td>
                                    <td ><input type="text" name="Acc_txtgioitinh" value="${rows.gioitinh}"/></td>
                            </tr>
                            <tr>
                                    <td >Số điện thoại </td>
                                    <td ><input type="text" name="Acc_txtsdt" value="${rows.sdt}"/></td>
                            </tr>

                            <tr>
                                    <td >Địa chỉ </td>
                                    <td ><input type="text" name="Acc_txtdiachi" value="${rows.diachi}"/></td>
                            </tr>
                            <tr>
                                    <td >CMND </td>
                                    <td ><input type="text" name="Acc_txtcmnd" value="${rows.cmnd}"/></td>
                            </tr>
                            
                            <tr>
                                <td></td>
                                <td><input type="submit" name="btAction" value="Update account" id="btAction"/></td>
                            </tr>
                        
                            <tr>
                                <td colspan="2">Thay đổi mật khẩu</td>
                            </tr>
                            
                            <tr>
                                    <td >Mật khẩu: </td>
                                    <td ><input type="text" name="Acc_txtmatkhau" /></td>
                            </tr>
                            <tr>
                                    <td >Nhập lại mật khẩu: </td>
                                    <td ><input type="text" name="Acc_txtlaimatkhau" /></td>
                            </tr>
                            <tr><td colspan="2">
                                    <input type="submit" value="Update password" name="btAction"/>
                            </td>
                           </tr>
                            
                            </c:forEach>
                    </table>
                            
                   
                    
             
            </form>
            </c:if>
            
						
				
				
				
    </div>
<!-- Center: End -->

	  
</body>
</html>

